package org.example.service;

import org.example.domain.Post;
import org.example.dto.PostPageQueryDTO;
import org.example.result.PageResult;
import org.example.vo.PostVo;

import java.util.List;

/**
* @author Wangmengyi_1
* @description 针对表【sys_post】的数据库操作Service
* @createDate 2024-05-23 11:17:42
*/
public interface PostService {

    PageResult listAll(PostPageQueryDTO postPageQueryDTO);

    boolean save(PostPageQueryDTO postPageQueryDTO);

    boolean update(PostPageQueryDTO postPageQueryDTO);

    boolean removeById(Integer id);
}
